import React from 'react';

export default class Error extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    return (
      <div
        className="text-error"
        style={{
          paddingLeft: '0.3rem'
        }}
      >
        {this.props.children}
      </div>
    );
  }
}
